<?php

namespace Keio\StudyBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Baihocketquakiemtra
 */
class Baihocketquakiemtra
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var \DateTime
     */
    private $datecreate;

    /**
     * @var \DateTime
     */
    private $dateupdate;

    /**
     * @var integer
     */
    private $baihocid;

    /**
     * @var string
     */
    private $baihocname;

    /**
     * @var integer
     */
    private $nbcauhoi;

    /**
     * @var integer
     */
    private $nbcaudung;

    /**
     * @var integer
     */
    private $nbcausai;

    /**
     * @var \Keio\StudyBundle\Entity\User
     */
    private $user;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set datecreate
     *
     * @param \DateTime $datecreate
     * @return Baihocketquakiemtra
     */
    public function setDatecreate($datecreate)
    {
        $this->datecreate = $datecreate;
    
        return $this;
    }

    /**
     * Get datecreate
     *
     * @return \DateTime 
     */
    public function getDatecreate()
    {
        return $this->datecreate;
    }

    /**
     * Set dateupdate
     *
     * @param \DateTime $dateupdate
     * @return Baihocketquakiemtra
     */
    public function setDateupdate($dateupdate)
    {
        $this->dateupdate = $dateupdate;
    
        return $this;
    }

    /**
     * Get dateupdate
     *
     * @return \DateTime 
     */
    public function getDateupdate()
    {
        return $this->dateupdate;
    }

    /**
     * Set baihocid
     *
     * @param integer $baihocid
     * @return Baihocketquakiemtra
     */
    public function setBaihocid($baihocid)
    {
        $this->baihocid = $baihocid;
    
        return $this;
    }

    /**
     * Get baihocid
     *
     * @return integer 
     */
    public function getBaihocid()
    {
        return $this->baihocid;
    }

    /**
     * Set baihocname
     *
     * @param string $baihocname
     * @return Baihocketquakiemtra
     */
    public function setBaihocname($baihocname)
    {
        $this->baihocname = $baihocname;
    
        return $this;
    }

    /**
     * Get baihocname
     *
     * @return string 
     */
    public function getBaihocname()
    {
        return $this->baihocname;
    }

    /**
     * Set nbcauhoi
     *
     * @param integer $nbcauhoi
     * @return Baihocketquakiemtra
     */
    public function setNbcauhoi($nbcauhoi)
    {
        $this->nbcauhoi = $nbcauhoi;
    
        return $this;
    }

    /**
     * Get nbcauhoi
     *
     * @return integer 
     */
    public function getNbcauhoi()
    {
        return $this->nbcauhoi;
    }

    /**
     * Set nbcaudung
     *
     * @param integer $nbcaudung
     * @return Baihocketquakiemtra
     */
    public function setNbcaudung($nbcaudung)
    {
        $this->nbcaudung = $nbcaudung;
    
        return $this;
    }

    /**
     * Get nbcaudung
     *
     * @return integer 
     */
    public function getNbcaudung()
    {
        return $this->nbcaudung;
    }

    /**
     * Set nbcausai
     *
     * @param integer $nbcausai
     * @return Baihocketquakiemtra
     */
    public function setNbcausai($nbcausai)
    {
        $this->nbcausai = $nbcausai;
    
        return $this;
    }

    /**
     * Get nbcausai
     *
     * @return integer 
     */
    public function getNbcausai()
    {
        return $this->nbcausai;
    }

    /**
     * Set user
     *
     * @param \Keio\StudyBundle\Entity\User $user
     * @return Baihocketquakiemtra
     */
    public function setUser(\Keio\StudyBundle\Entity\User $user = null)
    {
        $this->user = $user;
    
        return $this;
    }

    /**
     * Get user
     *
     * @return \Keio\StudyBundle\Entity\User 
     */
    public function getUser()
    {
        return $this->user;
    }
}